package net.lzzy.practices.constants;


/**
 * @author lenovo
 */

public enum Messages {
    SUCCESS("操作成功"),
    WRONG_PASSWORD("错误的用户名和密码"),
    USER_FORBIDDEN("该用户禁止登录"),
    INCOMPLETE_INFO("信息不完整"),
    WRONG_ID("错误id"),
    RELATED_DATA(""),
    NO_PERMISSION("没有操作权限");

    private String name;

    Messages(String name) {
        this.name = name;
    }

    @Override
    public String toString(){
        return name;
    }
}
